package com.kamisama.utopia.constant.character;

public class Charm {
    public static final String LV1 = "默默无闻";
    public static final String LV2 = "有点好康";
    public static final String LV3 = "引人瞩目";
    public static final String LV4 = "舔狗成群";
    public static final String LV5 = "惊为天人";

    public static String formatCharm(int charmPercent) {
        String charm = "";
        if (charmPercent <= 20) {
            charm = "魅力：" + Charm.LV1;
        } else if (charmPercent <= 40) {
            charm = "魅力：" + Charm.LV2;
        } else if (charmPercent <= 60) {
            charm = "魅力：" + Charm.LV3;
        } else if (charmPercent <= 80) {
            charm = "魅力：" + Charm.LV4;
        } else {
            charm = "魅力：" + Charm.LV5;
        }
        charm = charm + " [" + charmPercent +"%] \n";
        return charm;
    }
}
